package com.kuang.mapper;


import com.kuang.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper//这个表示mabatis的mapper类  类：Dao
@Repository
public interface UserMapper {
    int age =18;

    List<User> queryUserList();

    User queryUserById(int id);

    String addUser(User user);

    String updateUser(User user);

    String deleteUser(int id);

}
